package com.hst.capacity.domain.model.response.setting.price;

import com.hst.capacity.domain.model.entity.setting.price.SpecialCarPriceEntity;
import com.hst.capacity.domain.model.entity.setting.region.RegionEntity;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class SpecialCarPriceVO {

    private String idPrice;
    private String cityName;
    private List<String> operationScope;
    private SpecialCarPriceEntity priceDetail;

    public SpecialCarPriceVO(SpecialCarPriceEntity pEntity, RegionEntity rEntity) {
        this.priceDetail = pEntity;
        this.idPrice = pEntity.getIdServicePriceType();
        this.cityName = rEntity.getName();
    }

}
